package vip.mtdp.gateway.filter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 鉴权配置相关
 * @author wangguoqing
 * @since 2020/5/1 22:54
 **/

@Data
@Component
@RefreshScope
@Configuration
@ConfigurationProperties(prefix = "gateway")
public class AuthService {

    /** 白名单 **/
    private List<String> whiteList;

}
